
package code.codeworld.space.blog.mapper;

import code.codeworld.space.blog.model.Blog;
import code.codeworld.space.blog.model.vo.BlogVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * blogMapper映射
 *
 * @author freecode
 * @date 2023/03/23 00:20
 **/
@Mapper
public interface BlogMapper extends BaseMapper<Blog> {

    int findByKeywordCount(@RequestBody BlogVo vo);

    List<Blog> findByKeyword(@RequestBody BlogVo vo);

}
